package com.fypg.module.blooddonation.api.controller.app.bloodDonation.vo;

import com.fypg.module.blooddonation.api.client.dal.bloodStation.BaseApiReq;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * 字典查询输入参数
 * @author 盘古
 */
@Data
@Schema(description = "字典查询请求参数")
public class DictionaryReqVO extends BaseBloodRequestVO {

    /**
     * 字典类型标识
     * 指定需要查询的字典类型
     */
    @Schema(
            description = "字典类型标识",
            example = "nation"
    )
    @NotBlank(message = "字典类型标识不能为空")
    private String typeCode;

    /**
     * 指定是否需要清缓存
     * @param: null
     * @return : {@link null}
     * @date : 2025/10/24 14:00
     */
    @Schema(description = "是否需要清除缓存",example = "false")
    private Boolean isRemoveCache;
}
